package com.example.kotlinExample.enum

/**
 *
 *
 * @author liliang
 */
enum class ResultCode(var code: Int, var msg: String) {
    SUCCESS(1000, "操作成功"),
    FAILED(1001, "响应失败"),
    VALIDATE_FAILED(1002, "参数校验失败"),
    CONNECTION_TIMEOUT(1003, "连接超时"),
    ERROR(5000, "未知错误");

}